package cn.itsource.itsource.service;

import cn.itsource.itsource.domain.Department;
import cn.itsource.itsource.query.DepartmentQuery;
import cn.itsource.itsource.util.AjaxResult;

import java.util.List;

public interface IDepartmentService {
    List<Department> findAll();

    AjaxResult save(Department department);

    AjaxResult pageList(DepartmentQuery query);

    AjaxResult saveOrUpdate(Department dept);

    AjaxResult treeDept();

    AjaxResult batchDel(List<Long> ids);



}
